package com.yoda.mall.model.vo;

import com.yoda.mall.model.entity.pms.ProductCategory;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @author shawn
 * @date 2022年 12月 17日 23:53
 */

@Data
public class ProductCategoryVo {
    private Long id;
    private Long parentId;
    private String name;
    private Integer level;
    private String productCount;
    private String productUnit;
    private Integer navStatus;
    private Integer showStatus;
    private Integer sort;
    private String icon;
    private String keywords;
    private String description;
    private List<ProductCategoryVo> children;
}
